﻿using System.Runtime.InteropServices.ComTypes;
using UnmanagedType=System.Runtime.InteropServices.UnmanagedType;
using System.Runtime.InteropServices;

namespace SilverlightViewport.Common.Interop
{
    [ComImport]
    [Guid("2E340632-5D5A-427b-AC31-303F6E32B9E8")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IXcpControlDownloadCallback
    {
        void OnUrlDownloaded([In] int hr, [In, MarshalAs(UnmanagedType.Interface)] IStream pStream);
    }
}
